managed to get date picker running