c model working