added a way to do storable vars