added some text defs and comments