a challenging c demo