use global process method for demo