changed to http.HandlerFunc