using Java 1.6 to be compatbible with older environments, 1.7 not really needed anyways