restore Words class