latest java files, added utility class