option to input starting and ending dates.