refactored fat controller