yon
committed
on 25 Feb 02
added helper function