Now using WriterT for logging population statistics