removed log code and bad comment