how to layer in spring