Added frequency.c