added date functionality