to add command line in insertfunc.cpp