this si a program for Java