add forgotten code to initialize a local var