adding extra debugging