Simplified example with mask