custom Time functionality added