basic type conversion added for tools