added time standardizing functionality