decoding pipes added