Added some debuging statements