debug messages commented out