What couldn't you see on line #1 and #2. You are passing a list to the method, adding Dog, Cat and Bird objects to it accordingly. Inside the method, you are adding a Dog object to every passed list and after printing its size, you are traversing the list. What do you see wrong there?