updated query to reflect inScheme aat