                     
                     if searchParameters == nil {
                         
-                        response.statusCode = ServerStatusCode.BadRequest.rawValue;
+                        response.statusCode = ServerStatusCode.BadRequest.rawValue
                         
                         return
                     }
                     
                     // create server request
                     
-                    let serverRequest = ServerRequest(requestType: ServerRequestType.Search, connectionType: ServerConnectionType.HTTP, entity: entity, underlyingRequest: request, resourceID: nil, JSONObject: searchParameters, functionName: nil);
+                    let serverRequest = ServerRequest(requestType: ServerRequestType.Search, connectionType: ServerConnectionType.HTTP, entity: entity, underlyingRequest: request, resourceID: nil, JSONObject: searchParameters, functionName: nil)
                     
                     
                     let (serverResponse, userInfo) = self.responseForSearchRequest(serverRequest)

                    }
                    
                    // respond with serialized json
                    response.respondWithData(jsonData);
                    
                    // tell the delegate
                    self.delegate!.server(self, didPerformRequest: serverRequest, withResponse: serverResponse, userInfo: userInfo)

                }
                
                // respond with serialized json
                response.respondWithData(jsonData)
                
                // tell the delegate
                self.delegate!.server(self, didPerformRequest: serverRequest, withResponse: serverResponse, userInfo: userInfo)
