renaming wrong variable for timer