how to build an association