daveb
committed
on 30 Dec 02
fixed duplicated code