added time formating.