removes unnecessary timer-related code