printing it out to console log