add last letter detection