Added log to console