Mr Luff said it would examine whether the current market structure encourages effective competition in the retail markets for gas and electricity and whether there is effective competition in the wholesale markets for both .