added some comments and updated search results view