adding debuging