remove duplicates with temp store and with runner