s/chain/pipeline/ in some places