Should be NULL not nil, nil is for NSObjects