Tried fixing outlay of arraylist; not working