working, but need to make word class