changed set literals to function set