change the type of Nva to int*int-- Jingsi