func createuserenvironmentguide(prearrivalinfo map[string]interface{}, userpreferences map[string]string) (guide string) { for _, phase := range []string{"prearrival", "arrival", "stay"} { switch phase { case "prearrival": guide += "to ensure a distinct and enriching experience, we repudiate the conventional approach and encourage you to take up environmental protection from scratch. "; case "arrival": guide += "upon arrival, effective communication with locals will unveil unique environmental practices distinct to the region. "; case "stay": guide += "throughout your stay, engage in activities that highlight the distinct relationship between humans and nature. "; } } return guide }