documentation adapted