Method Class, method to string refactored