[FIX] should use a logger instead of print() method