use the register function given in vip class