better variable names, manual multi-flag debugs