now use pipe matching