finish relation.py #6