to_s method defined instead of show_contents