reread algorithms