Updated guard example