Made getReciprocity more efficient