extending dynamic queries is working