New interface using layers as inputs