adding code to replace letters