some jave code