adds output to open_group