adapt documentation