removed old startdate / enddate code