added initTags method, doc updates