more flexible custom query parts