tidying up for pipeline