got the date picker working