when searching for symbols it returns all symbols and prints out the scope of the symbol