# I think we need to add variables to make things easier

**URL:** <https://forum.bubble.io/t/i-think-we-need-to-add-variables-to-make-things-easier/137094>\
**Category:** Idea\
**Created:** [February 19, 2021, 3:49pm UTC](https://forum.bubble.io/t/i-think-we-need-to-add-variables-to-make-things-easier/137094 "2021-02-19T15:49:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ParalaxMuscrat](https://avatars.discourse-cdn.com/v4/letter/p/13edae/32.png) [@ParalaxMuscrat](https://forum.bubble.io/u/ParalaxMuscrat)\
**Post date:** [February 19, 2021, 3:49pm UTC](https://forum.bubble.io/t/i-think-we-need-to-add-variables-to-make-things-easier/137094/1 "2021-02-19T15:49:44Z")

</div>

One of the things I am having a hard time with Bubble is the lack of variables. I love mostly what bubble can do, but the lack of variables is really confusing.

Today I am spending about an hour of time trying to compare one number to another. This is really basic in code, but hard in bubble.

One of the things I want to be able to do is to access more data anywhere I want.

This should be something that is really easy but for whatever reason, it’s really hard in bubble. Here’s an example.

I have a list which is filtered for price, The number comes up just fine in a text field, but I cannot compare that number to any other number because it’s telling me I can’t compare a number to a list of numbers. Does anybody have a good work around?

 ![Screenshot 2021-02-19 074818](https://us1.discourse-cdn.com/bubble/original/3X/d/b/db1425b5dbc6575e7eabf471130bd23e36b274ed.jpeg)

---

<div class="post-metadata">

**Author:** ![jared.gibb](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/jared.gibb/32/123329_2.png) [@jared.gibb](https://forum.bubble.io/u/jared.gibb)\
**Post date:** [February 19, 2021, 5:09pm UTC](https://forum.bubble.io/t/i-think-we-need-to-add-variables-to-make-things-easier/137094/2 "2021-02-19T17:09:07Z")

</div>

I think that you make a fair statement here. Working with variables can be hard at times. Have you checked out using custom states? Are use a custom stay similarly to how are use a variable.

That said, that may not be enough for your needs. I am sure you’re no slouch and I’ve already thought of this anyways. So that takes me to item number two. There are at least 1 to 2 plug-ins that allow a user to take advantage of cookies as a local variable.

Here is one [example](https://bubble.io/plugin/env-environment-variables-bdk-1540857498064x563539974936330200) from BDK
