updated pipes to using implicit class