#7 build failure fixed by adding algorithm