adding algorithm as image