console log the data