console logging

added the message to console log