fixing class structure (wordboop)