add common query patterns