finished adding tags to the Word class