more basic C example