class ValidTags completed. methods working