modified to named pipe base feature