functional for VPS