setup for similarity network