put data as first arg for piping as per @jbirstler 's suggestion
put data as first arg for piping as per @jbirstler 's suggestion