modify to remove specialized functions, which are unused
modify to refactor predefined relations
remove unneeded comments
refactor predefined relations