changed starting/ending time columns to Time from datetime