Changed word structure from chars to string