Removed temporary debug line to show resource.message() value