better String converter factory