add new method to parse referer string