Added advanced queries, intermission