created view for setting start/end date