Problem C Append Function