filter tweaks
abstracting stuff