first try adding P1 decoder