switched input to ArrayList