make it ready for stringType refactoring