debugging stdout statements