added some comments about search