adjusted the Set transformation