Delegating work to machines