now that txt is const, fm can be, too