made changes to UI and added option for date