replaced @vm_local completely with all_vars