The adaptation of historical building