Refactor the code to allow for a better output

not related at all, given we don't use the ProcessHelper here