Refactored floor timer