Changed the code to utilize array size, rather than a hard-coded number. Also, changed name to be more concise and descriptive.