add support for filters in server side (WIP)