packages adaptation