Clear unnecessary lines of code