start implementation of void* var_ptr_map