added two search boxes for start and end