reduce complexity in docs