Change itoa to sprintf