Adding printf_working code snippet