# .where(function(e) not working

**URL:** <https://forums.fusetools.com/t/where-function-e-not-working/1205>\
**Category:** Bug Reports\
**Created:** [February 10, 2017, 2:31pm UTC](https://forums.fusetools.com/t/where-function-e-not-working/1205 "2017-02-10T14:31:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![TouPilsner](https://avatars.discourse-cdn.com/v4/letter/t/ecb155/32.png) [@TouPilsner](https://forums.fusetools.com/u/TouPilsner)\
**Post date:** [February 10, 2017, 2:31pm UTC](https://forums.fusetools.com/t/where-function-e-not-working/1205/1 "2017-02-10T14:31:52Z")

</div>

For some reason console.log and fruits.where is not run. Anyone know why? Fuse version: 0.33.0. Windows 10. Clicked filterFavorites is showing.

```auto
function filterFavorites () {
	console.log('Clicked filterFavorites');
	var fruits = Observable(
		    { name: "Apple" , color: "red" },
		    { name: "Lemon" , color: "yellow" },
		    { name: "Pear" , color: "green" },
		    { name: "Banana", color: "yellow" });

	var goodFruits = fruits.where(function(e){
			console.log(e.color)
		    return e.color === "yellow";
	});
}

```

---

<div class="post-metadata">

**Author:** ![edA-qa\_mort-ora-y](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/eda-qa_mort-ora-y/32/124_2.png) [@edA-qa\_mort-ora-y](https://forums.fusetools.com/u/edA-qa_mort-ora-y)\
**Post date:** [February 10, 2017, 2:34pm UTC](https://forums.fusetools.com/t/where-function-e-not-working/1205/2 "2017-02-10T14:34:50Z")

</div>

`where` is a reactive function. These do not execute unless something has actually subscribed to their output value. This happens when you assing it to a variable in `exports` or do an explicit `addSubscriber` on the `Observable`.

That is, until something attempts to use the value of `goodFruits` that function will not be executed.
