set method closure