small change in timer class