adding date picker functionality - not done yet