better filtering of requests