refactoring CookerView