error in timer corrected