Add 3 types of queries