add a relationship generator
add a relationship generator