another attempt at figuring out the filter input