Algo with stuct Value