if statement

Writes self._total