A better method of parsing the symbols from the url