Code downgrade to Java 1.7