added querying bat