Simplify this code
Add documentation for rescue_method
Docmentation for Data class