integrate resources into piece