only prints group when group end is called