added total controller