new features: add   variables and custom attribute variables