deleted unused varaibles