myDate() is now global too