program adaptation  2