Simplified simplify().