PCNN prototype (it's not final version)