add object oriented timer