affinity tool