added list vms running helper function