queries and notes