Added VB algorithm