added console log