added clear.c