pipeline prototype