use integer to store time (in ms) instead of float