changing the clock from a pointer to an instance