Including algorithm