Update demo.c

pull demo works