Removed extra lines of code