add_grp method
fix unbound variable bug
pretty printing for status