removed unwanted variables