Tidy
Use log instead of fmt