added query of DBSession