from printf to puts