do more on java side