Simpler way to deal with the process creation