lib: support variables