adding debuging statements