c component finished and tested