Deleted unused varaibles.