adding a method in parseutils.