vif reading code wip