search, and other major functions working