formation of homo- and hetero-dimers