added console logger