started implementing arraylist