pipeline preparation