Algorythm added