Pass $data object into new filter