Fixed a bug in our init method
Shifted $_total to protected variable to ease subclassing