changed Timer pointers to shared pointers