added required and optional arguments
added mention filter