parameterised the heading.
merged scoutmaster utils.