Simplified Nancy code