add enhanced java file