Made a first pass at smart letter generation