date picker stuff to the lib