simplify for java one