Simplified function apple