added some details about how the custom java file works