changed it so that it uses the current date