cocoa errors added