changed starting and ending times to strings