debug messages all over the place