changed entree keying to by ids