Timer Function
Fix round to floor