deleted pipe code since it will not work