use log.Printf for debug logging