Return proper status codes
add more descriptors, use switch statement to select between them, return proper status codes.
update Xcode project