Added C calculation for 4 & 5