working on a filter for Web API.