working pipeline and filter - use for cli