rename words interface to allwords and implemented a new interface called words