Clone
fmalikoff
committed
on 06 Feb 07
Changed code to make it more robust if the mode parameter is missing