switched to cocoa bindings