I have written a console.log line so that I acn see if it output the correct data in the correct form.