checking what you're hitting it with apprtly

(You have to use instanceof )
cleanup