mend

TODO use func_set function for executions in general