added hasMore method