code with Java