Altered CD query