add variable support to init