adding genlep and trig branches