refactoring to for-each
refactoring: variable names
refactoring
centos support