use fmt not log for basic example