converted view and vqmod  to 2.x