use logging, not print