Coexistence and diversity