extract string utils from todo main