split to pipe library