isWOrd fn added to indexer and header. and it works yeee