changed system of start and enddtime to use an custom field