Working on new Java example