use printlog()?