add simple record and playback c stuff.