added start end times parsing