completed all add types and addWord routine