removed the two extra lines of code