removed debuging code