layer integration working / complete