Added self refernece to Timer class