Modified to include more than one parameter while calling vm_helper functions