Changed to compile to Java 1.7