Removed prints from timer function