edited target.c