removed deubgging statements