implemented filter string builder