Changed its name & made its for loop more readable