add adaptation part to the tutorial