use fmt instead of log