add letter related function