Modified the word.cs to use get/set