added console messages to see the failure