added c functions section