adding in esr24 queries