added remaining code for cats vs dogs