pipeline design exercise