refactoring Class Soma