change poc logic -> array of poc for endpoints instead of one