some struggles on JniObject methods