implemented date feature