Added extend algrithm