all PCNN conditions implemented