Reconfigure

Reconfigure the function and remove unnecessary code.