Implemented the clerk's process return function