debug messages removed