Coexistence and resource competition