fixed type - thanks pete!