Rename x to arr