#11 refactoring complete
relationship output feature complete