debugging
external piping added