added dropdown for time period selection