simplify the all function