committing after adding ArrayList usage