caramel initialization snippet updated according to the framework update