first try on Query6