added longpipe lib