better works as a java file