progress on c conversion