Rename to_s method to print_details