adding support for optional param level filtering