next step wrt resource dependencies: layers and styles