add info and debug logging