changed printf to strncpy (reduce 600b)