better compilation(java)