refactor: implemented program filter