removed unnecessary variables from timer