moved instance of as part of inheritance
added slide for instanceOf