creating an NSObject subclass