Get rid of unused lines of code