Add word enter functionality