pipe_call_logic