Changed playerName to read/write.