debugging section added