add instanceof/undefined