added time machine class