pretty sure it should work in some ways note: it will be inaccurate for the first second UPDATE: now every 1 second