Updated to not use an array in anyway.