made some changes, got the date working.