added the return parameter "value" for searchCallback function