Added internal timekeeping method