change to an implementation based on set names