changed debug messages to use info logging