console log and return