new longer version of previous pipeline