simplify lib