better improvement of printf