Removed array list as it was causing problems during conversion