removed optfunc and using argparser