customized start time and end time and added wrong end time error