fixed a accidental global var and added cooking_bear and base