add type to check.