Add common query