trim.c added TESTING