added debug fields