edited console log