new dynamic query syntax
add  protection