Add sort_ex
Add hasPet
Remove dumb print
Add some relation rules