refactoring: make some variable names short to save space (e.g. ans)