add methods and class for Cobertura code coberage