A regime switching Ohlson model