add puts statement for enhanced logging