more work on compatibility graph