I wonder if you need this now_ms and subtraction instead of using `timer:now_diff/2`?