modified array