working to make add and remove button working