Changed playerArray to an Array of Objects