added options for output filtering