add generation code for vnas