Added algorythm prototype to Manger