changed the compiler version to Java 6