updating to use java 7