The ins and outs of outsourcing.