Implementing the Virtual leashing technique