added query notes to model