added start- end end- time fix up routine