rewrite main prog (use getC/withC) (but still broken)