Change the variables names and use simple variable instead of array