removed the logging statements