successfully implemented a date picker