Cosi converted to java.