apc to array