Total back in the black on low output costs