add code to help with debugging