use correct array