Might as well update this to Java 7 syntax