Added add_to_letter function