implement process in Sink