replace print for LOG.debug