read VP value inside the loop