added the current date function