minor refactor; specify java source/target version