 int main(int argc, char const *argv[]) {
   index_collection();
 
-	/*
+	/* get query from user input
   char query[1000];
   printf("Enter query: ");
   fgets(query, 1000, stdin);

#define POSTINGS_FILE4 "resources/mini_seq_posting.txt"
#define DOCUMENTS_NORM "resources/documents_norm.txt"

typedef struct Query {
   int size;
   float *weights;
   int *termsId;
	 float norm;
 } Query;

Posting* postingsFromSeqFile(FILE *postingsFile, int totalTerms);
float* docsNormFromSeqFile(FILE *docsNormFile, int totalDocs);
void index_collection();
void resolveQuery(char *query);
Query parseQuery(char* queryStr);
void handleKernelError();
cudaError_t checkCuda(cudaError_t result);
// to use only during developing, delete on production
Posting* LoadDummyPostings(int size);
void displayPosting(Posting *postings, int size);



// global variables that are allocated in device during indexing

	cudaFree(dev_docScores);
	/*
	TODO: FREE QUERY
	freeQuery();
	*/

}

void handleKernelError(){
