added bottom, middle, top layers