simplify compile