Removed ticksInASecond variable.