added functions to handle arguments for filters