add pipeline class  #6