allows for multi-paring
work on wolves and goats example