add some control for start/end dates