added sort of printf