wrap it in an objective-c class