first draft of layers feature