Add sprintf functional