change the three layers to two layers