add query for inserted circumstances