added function "java"