pomp comparison is now in C (thanks to Aaron King for the template)