added sysout to check date