add pipeline support