working on date selector