Changed particles Array to ArrayList