updating with some minor formatting
update that sanity checks if time entered is a string
adding some more modifications