I get an error on IDE saying required type 'Cat' , given 'Object'. I commented out the line so I could submit the question...