moved logger out