spider algo implemented