myarraylist seems to be working