added fresh.c and fresh.h