logger removed from main