Refactored the names of the arrays