Investment and competition