instanceof-ing

because apparently it's better

didn't do all of them, though