changed mkVAO to return number instead of pointer