added CodeQuery