removed printing statements from timer code