removed print statements
additional letter flips