Updated protect example