switch from print statements to actual logging
switch from print statements to actual logging