Checking Base type