maybe use a logger instead of print