change varify funtion's parameters