ignoring type while checking