changed to do keys one letter at a time