Add filter initialization
Add  applyFIlter