finishing linear algorithms