This is the code which has been developed over the years for iVRL