Moved the letter map to the getProduct function