wrote my own pipeline