adding filter interface

Signed-off-by: Victor Porras <vporras@ymail.com>