added preliminary scan group functionality