removes unused line of code