changing around structure of layers config