add pipeline architecture