add proper printing to the search server