remember to cb() when using --print option