adding in ability to pass group info to build into csv