added pipeline stuff