now using java 6