Write set create function. Whew!