implemented note searching