changed timer instantiation