Work on Vy algorithm