more work on relations