Here, you should not be accessing the client's instance variables from your shelter. You should have functions defined in the client class that remove and return the animal removed. This way, you're not destructively modifying the client accidentally.