added class derivation to NSObject