got basic type sensing for tokens