renamed to_set method on array