removed some logging statements