keep ruby to java to minimum