implement filter and pipe