Added additional C implementations