Whoops, reintroduced the dictionary for animals which i accidentally deleted when cleaning up code.