added: algorithm that uses utils.h