set up pipeline