removed extraneous arraywitharray