Added parse_LRG function