AmplProcess refactor