add wait group