added mocking and convenience cc methods