Adding affinity actions