switched JNI to parsed descriptors