res: 3 res: -1 exit 0