Forgot some code in ArrayList when changing arrays