add model, migration of vip
modifying vip function
apply vip function prototype done