a few tweaks from the words game