basic relation and graph build works