add previous version var