makes process pattern costumizable