added pointer, fixed total reappearing