add C version as template in comment