added stuff to time class