Added trim.c