adding debug info.