updated with EC and single pipes