setup pipeline