add algorithm pic