removed extranious variable