added to_name methode to places
fixed rubocop