advantages and disadvantages of using arr