remove puts, need to use actual logging