wrap leveled and simplify