simplify layers