added jvm api for iterations