end of day dropdown almost working