removed debigging code