removed unnesescary logging