Fixed C part, defined the skelton for D