added info to the console and fixed the date form