some simplification