refactoring, min java version set to 1.5