Now I think last letter logic is correct