Reduce code lines