documentation works correctly