now using with java 7