finish up binding's java side