not using the same reference array