get c working