doneAction, in. out are now int values