up to sprintf in main