first version of vis.c