simplify the structure