removed extra variable not used.