simplify code module