Trying to automate boundary process