implemented the remove button and renamed party var to newParty