added query syntax additions with Peter