begin work on C support