debuging code removed