removing debuging part from main