use clog rather than log file