Palace rewrite in C