removed nonfunctioning logging