changes method name to add filter from when to param
changes filter api

changes scope name to method