implements MakeSet with ststic functions