used two processes