Removed an extraneous variable