add the console to print the area value