remove redundant reference
increase number of branches allowed in methods