Smart outsourcing