added time class basics