add buildLayers