added some funtions to Java proyect