hit pipe function defined