Reduce method complexity