change comment, now checks for instance of class