* added some color to pipes depicting the different depth levels
* minor refactoring