Simplify edible function