add print() for logging