changed array to two