add march algorythm