Added simple pipe implementation