simplify CGIs