Moved function definition out of filter.
Moved function definition out of filter.

dublebuble/primarysources,cesarmarinhorj/primarysources,dublebuble/primarysources,cesarmarinhorj/primarysources,dublebuble/primarysources,cesarmarinhorj/primarysources,cesarmarinhorj/primarysources,dublebuble/primarysources