map letters to functions.