refactored judgeable controller