check-the-type