add new method to Time