Got the listing,addtion and removal of arrays working