Removed use of arrays.