little more work on the decoder. now signals on every new layer