init
main() framework done
now, a better interface
supporting named-group