added QueryEids()