better variable management for stylus