task 10 cbc implementation