agree, probably better in java_integration