converter working with arrayList implementation