C/helpers