check type with string?