added layers support