1.remove the redundancy code