custom revive variable