changed console log